package com.panfeng.xcloud.scheduler.init;

import com.panfeng.xcloud.scheduler.service.IUpdateNewestBlockNumService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.PostConstruct;

//@Component
public class LoadTrxNewestBlockNumService {

    @Autowired
    private IUpdateNewestBlockNumService iUpdateNewestBlockNumService;

    @PostConstruct
    public void init() {
        //更新TRX区块高度
        iUpdateNewestBlockNumService.updateNewestBlockNum();
    }

}
